package com.knowswift.common.bean.issue.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.knowswift.common.bean.issue.vo.ModuleDto;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @author CTL
 * @create 2025-07-17 17:40
 */
@Data
public class Customer {
    @TableId(type = IdType.ASSIGN_ID)
    private String customerId;
    /**
     * 客户编码
     */
    private String customerCode;
    /**
     * 客户名称
     */
    @NotNull(message = "客户名称不能为空")
    private String customerName;
    /**
     * 客户地址
     */
    private String address;
    /**
     * 联系发送
     */
    private String phone;
    /**
     * 状态（0停用1启用）
     */
    private Integer status;

    private  int isDelete;

    private Long createUserId;

    private Date createTime;
    @TableField(exist = false)
    private List<ModuleDto> moduleList;

    @TableField(exist = false)
    private  List<SysUser> userList;
}
